<!DOCTYPE html>
<html>

<head>
    <title>index</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
    <link href="../lib/bootstrap/bootstrap.min.css" rel="stylesheet">
    <link href="../lib/weui-master/dist/style/weui.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="../lib/fontawesome/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="../sys/css/foot.css">
    <link rel="stylesheet" type="text/css" href="../sys/css/goodstype.css">
    <style lang="css">

    </style>
</head>

<body>
    <div class="box">
        <div class="search">
            <input type="text" name="" v-model.trim="goodskeywords">
            <span @click="goodslist()"><i class="fa fa-search "></i></span>
        </div>
        <div class="imgbox">
            <img src="../img/1.JPG">
        </div>
        <div class="hot list">
            <div>热门筛选</div>
            <div class="list-line">
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">白菜党</div>
                </div>
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">神价格</div>
                </div>
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">奇葩物</div>
                </div>
            </div>
        </div>
        <div class="type list">
            <div>分类筛选</div>
            <div class="list-line">
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">白菜党</div>
                </div>
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">神价格</div>
                </div>
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">奇葩物</div>
                </div>
            </div>
            <div class="list-line">
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">白菜党</div>
                </div>
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">神价格</div>
                </div>
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">奇葩物</div>
                </div>
            </div>
            <div class="list-line">
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">白菜党</div>
                </div>
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">神价格</div>
                </div>
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">奇葩物</div>
                </div>
            </div>
            <div class="list-line">
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">白菜党</div>
                </div>
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">神价格</div>
                </div>
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">奇葩物</div>
                </div>
            </div>
            <div class="list-line">
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">白菜党</div>
                </div>
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">神价格</div>
                </div>
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">奇葩物</div>
                </div>
            </div>
            <div class="list-line">
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">白菜党</div>
                </div>
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">神价格</div>
                </div>
                <div class="list-item">
                    <div class="list-item-up"><i class="fa fa-home"></i></div>
                    <div class="list-item-down">奇葩物</div>
                </div>
            </div>
        </div>
        <div class="commonfoot">
            <my-foot @choose="choosemune"></my-foot>
        </div>
    </div>
    <script src="../lib/jquery/jquery-1.11.0.min.js"></script>
    <script src="../lib/vue/vue.js"></script>
    <script type="text/javascript" src="../sys/js/foot.js"></script>
    <script>
    $(function() {

        var box = new Vue({
            el: '.box',
            data: {
                goodskeywords: ''


            },
            components: {
                myFoot
            },
            methods: {

                choosemune: function(i) {
                    if (i == 0) {
                        console.log("0");
                        window.location.href = "index.html";
                    } else if (i == 1) {
                        console.log("1");
                        window.location.href = "goodstype.html";

                    } else if (i == 2) {
                        console.log("0");
                        window.location.href = "index.html";

                    } else if (i == 3) {
                        console.log("3");
                        window.location.href = "index.html";
                    }

                },
                goodslist: function() {
                    window.location.href = "goodslist.html?goodskeywords=" + this.goodskeywords;

                }

            }

        })
        $(".footer ul li").removeClass("active");
        $(".footer ul li:nth(1)").addClass("active");



    })
    </script>
</body>

</html>
